package com.xiaoyu.cloudmusic.service;

import com.xiaoyu.cloudmusic.pojo.Account;
import com.xiaoyu.cloudmusic.pojo.PlayListDetail;
import com.xiaoyu.cloudmusic.pojo.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AccountsService {
    public Account findOne(String account, String password);
    public int addAccount( String account, String password,String uuid);
    public int addUserInfo(UserInfo userInfo);
    public UserInfo getUserInfoByUUID(String uuid);
    public int upDateUserInfo(UserInfo userInfo);
    public int updateAvatar( String photoPath, String uuid);
    public UserInfo findUserInfoByUUID( String uuid);
    public List<PlayListDetail> getUserPlayList(String uuid);
}
